package com.igbeok.miscellaneous.concurrency.hemberg;

public class Hamberg {
	// 汉堡包
	private int id;// 汉堡编号
	private String cookerid;// 厨师编号

	public Hamberg(int id, String cookerid) {
		this.id = id;
		this.cookerid = cookerid;
		System.out.println(this.toString() + "was made!");
	}

	@Override
	public String toString() {
		return "#" + id + " by " + cookerid;
	}

}
